<template>
    <div class="tab">
        <slot name="left">左边</slot>
        <slot name="center">中间</slot>
        <slot name="right">右边</slot>
    </div>
</template>
<script>
export default
{
    
}
</script>
<style scoped>
.tab{
    display: flex;
    /* justify-content: space-between; */
    flex-direction: row;
   justify-content: center;
    width: 300px;
    height: 40px;
    background-color: red;
}
</style>